package com.amigo.online.provider.user.model.entity;


import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.common.base.entity.BaseEntity;


/**
 * 用户爱好实体类
 *
 * @author m1391
 */

@Table(name = "user_hobby_tbl")
@Alias(value = "userHobby")
public class UserHobby extends BaseEntity {

    /**
     *
     */
    private static final long serialVersionUID = -9181127809440473585L;


    @Column(name = "user_id")
    private Long userId;

    private Hobby hobby;

    @Column(name = "deleted")
    private Integer deleted;

    @Column(name = "delete_time")
    private Long deleteTime;

    @Column(name = "update_time")
    private Long updateTime;


    public Hobby getHobby() {
        return hobby;
    }

    public void setHobby(Hobby hobby) {
        this.hobby = hobby;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Long deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }


}
